<!DOCTYPE html>
<html>
<head>
    {include file='public/meta'/}


    <link rel="stylesheet" type="text/css" href="__STATIC_URL__/static/bootstrap-table/bootstrap-table.css"/>
    <script src="__STATIC_URL__/static/bootstrap-table/bootstrap-table.js"></script>
    <script src="__STATIC_URL__/static/bootstrap-table/bootstrap-table-zh-CN.js"></script>
</head>
<body>
{include file='public/header'/}
<!------------------导航-------------------------->
<section>
    {include file='public/left'/}
    <!--------------------------主要内容区域------------------------------------->
    <div class="content">
        <!--路径导航-->
        <div class="page-heading">
            <ul class="breadcrumb">
                <li>当前位置是&nbsp;:</li>
                <li><a href="#">礼品卡管理</a></li>
                <li style="color: #02b87f;">核销记录</li>
            </ul>
        </div>
        <div class="panel panel-search panel-default mgl15 mgr15">
            <div class="panel-heading">
                <h3 class="panel-title">
                    筛选
                </h3>
            </div>
            <div class="panel-body">
                <form action="" method="get" class="form-horizontal table-search form-search" role="form" id="machform">
                    <div class="col-sm-6 col-md-6 col-lg-4 ">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">卡券code：</label>
                            <div class="col-sm-9">
                                <!--oninput="getDatas(this.value)" onkeydown="searchkeydown(event,'merchant')"-->
                                <input type="text" class="form-control"autocomplete="off" disableautocomplete id="code" placeholder="请输入" value="" name="code" id="#code">
                                <div class="searchlist hide">
                                    <ul>

                                    </ul>
                                </div>
                            </div>
                        </div>
                    </div>

                </form>
            </div>
            <div class="panel-footer">
                <a href="javascript:;" class="btn btn-primary" onclick="searchform()">查找</a>
                <a href="javascript:;" class="btn btn-default" onclick="clearform()">清空</a>
            </div>
        </div>
        <!--内容列表-->
        <div class="panel mgl15 mgr15" >
            <div class="panel-heading addCharts" style="background:#ededed;">礼品卡核销列表</div>
            <table class="table table-hover" data-toolbar="#toolbar" id="tablelist">

            </table>
        </div>


        {include file='public/footer'/}
    </div>
</section>
</body>
<script src="/wntable.js"></script>

<script>

    $(function () {
        var type = "consumecardgiftlist";
        var url = "{:url()}";
        getcolumn(type, url,"tablelist")
    });
    function searchform() {
        $("#tablelist" ).bootstrapTable('refresh');
    }
</script>
<script>
    $(function () {
        $('#myTab a:first').tab('show');
    });
</script>

<script type="text/javascript">

</script>


</html>
